﻿using System.Collections.Generic;
using Todo.Models;

namespace Todo.Services;

public class Database
{
    public IEnumerable<TodoItem> GetItems()
    {
        return new[]
        {
            new TodoItem { Description = "Walk the dog" },
            new TodoItem { Description = "Buy some milk" },
            new TodoItem { Description = "Learn Avalonia", IsChecked = true }
        };
    }
}